﻿using System;
using System.Drawing;

namespace WindowsAPI
{
	[Serializable]
	public class OnMouseButtonEventArgs : EventArgs
	{
		[Serializable, Flags]
		public enum ButtonType : byte { Left = 0, Middle = 1, Right = 2 }
		[Serializable]
		public enum DirectionType : byte {Down = 0, Up = 1 }

		public ButtonType Button;
		public DirectionType Direction;
		public Point Position;

		public OnMouseButtonEventArgs(){}

		public OnMouseButtonEventArgs(ButtonType Button, DirectionType Direction, Point Position = new Point())
		{
			this.Button = Button;
			this.Direction = Direction;
			this.Position = Position;
		}
	}
}